import os

import yaml
# f=open("../data/data.yaml", encoding="utf-8")
data_path = os.path.join(os.path.dirname(os.path.dirname(os.path.realpath(__file__))), "data", "data.yaml")
data = yaml.safe_load(data_path)
# print(data)
# print(data["hero"])
# print(data["hero_names"])
# print(data["heros"])
# print(data["heros_name_list"])
# print(data["test"])
# print(data["test"]["name"])
# print(data["test"]["request"]["url"])
# print(data["test"]["request"]["method"])
# print(data["test"]["request"]["headers"])
# print(data["test"]["request"]["json"])
print(data['hero_names_word'])
print(data['mobile_belong_get'])
print(data['mobile_belong_post'])
print(data['mobile_belongs'])


